package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.dto.ReservationDto;
import com.zzyl.nursing.vo.ReservationCountVo;

import java.util.List;

public interface IMemberReservationService extends IService<Reservation> {
    Long cancelledCount();


    List<ReservationCountVo> countByTime(Long time);

    void add(ReservationDto dto);

    List<Reservation> pageSize(ReservationDto dto);

    void cancel(Long id);
}
